package br.com.pucrs.tcc.rn;

import java.util.List;

import javax.ejb.Remote;

import br.com.pucrs.tcc.ed.Convite;
import br.com.pucrs.tcc.exception.ConviteException;

@Remote
public interface ConviteRN {

	public Convite inclui(Convite convite) throws ConviteException;

	public List<Convite> listaRecebidos(String matricula);

	public List<Convite> listaRealizados(String matricula);

	public void cancelaConvite(Integer id) throws ConviteException;

	public void aceitaConvite(Integer id) throws ConviteException;

	public void recusaConvite(Integer id) throws ConviteException;

	public Convite obter(Convite convite);

}
